﻿@using StudentInfo.Areas.StudentArea.Resources.Views.Shared
@model StudentInfo.Areas.StudentArea.ViewModels.StudentViewModel

@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h3>@SharedStrings.Delete</h3>
<fieldset>
    <legend>Студент</legend>

    <div class="display-label">@Html.LabelFor(model => model.StudentName)</div>
    <div class="display-field">@Model.StudentName</div>

    <div class="display-label">@Html.LabelFor(model => model.Year)</div>
    <div class="display-field">@Model.Year</div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Назад к списку", "Index")
    </p>
}


